﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PQ.Enum;

namespace PQ.Model
{
    /// <summary>
    /// 消息
    /// </summary>
    public class MessageModel
    {
        /// <summary>
        /// 消息的类型
        /// </summary>
        public MessageTypeEnum MessageType { get; set; }

        /// <summary>
        /// 群code
        /// </summary>
        public String Group_code{get;set;}
        /// <summary>
        /// 发送的QQ号号码
        /// </summary>
        public String Send_uin { get; set; }
         

        #region 普通QQ消息
        /// <summary>
        /// 来自于QQ
        /// </summary>
        public String From_uin{get;set;}
        /// <summary>
        /// 内容
        /// </summary>
        public String Content { get; set; }
        #endregion

         #region buddies_status_change
        /// <summary>
        /// 来自于QQ
        /// </summary>
        public String Uin{get;set;}
        /// <summary>
        /// 内容
        /// </summary>
        public String Status { get; set; }
        /// <summary>
        /// 客户端类型
        /// </summary>
        public String Client_type { get; set; }

        /// <summary>
        /// 服务器返回的 原始 内容
        /// </summary>
        public String Value { get; set; }
        #endregion
    }
}
